package org.yoao.crm.business.service;

import java.util.List;
import java.util.Map;

import org.yoao.crm.struts.form.CompanyForm;

/**
 * @author yxwonline.com
 * @description 
 * @date 2010-7-31 下午02:10:59
 */
public interface ICompanyService {
	public List view(int startRow, int endRow, Map map) throws Exception;
	public List getCompanys() throws Exception;
	public int getDataCount(Map map) throws Exception;
	public CompanyForm getCompany(String id)throws Exception;
	public CompanyForm add(CompanyForm form) throws Exception;
	public CompanyForm modify(CompanyForm form) throws Exception;
	public void delete(String id) throws Exception;
}